package com.news.news.dao;

import com.news.news.modle.News;
import com.news.news.modle.User;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface UserLoginDao {
    //

    User login(User user);

    void saveNews(News news);//新增新闻

    void addNewstypeRole(@Param("newsid") Integer newsid, @Param("newstypeid") Integer newstypeid);

    void saveUserNewsRole(News news);
}
